package com.spzx.order.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spzx.order.domain.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.order.domain.vo.OrderTradeVO;

/**
 * 订单Service接口
 *
 * @author atguigu
 * @date 2024-07-03
 */
public interface IOrderInfoService extends IService<OrderInfo> {


//    /**
////     * 查询订单列表
////     *
////     * @param orderInfo 订单
////     * @return 订单集合
////     */
//    public List<OrderInfo> selectOrderInfoList(OrderInfo orderInfo);


//     List<OrderInfo> selectList(OrderInfo orderInfo);

    OrderTradeVO trade();


    String submitOrder(OrderInfo orderInfo);

    Page<OrderInfo> userOrderInfoList(Integer pageNum, Integer pageSize, Integer orderStatus);

    OrderInfo selectOrderInfoById(Long orderId);
}


